package com.ruoyi.a2.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 目标动向预测和意图研判对象 a2_tmp_and_ia
 *
 * @author ruoyi
 * @date 2025-02-14
 */
@Data
public class A2TmpAndIa extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** MMSI_ICAO */
    @Excel(name = "MMSI_ICAO")
    private String mmsiIcao;

    /** 历史航迹数据(N个经纬度点集合) */
    @Excel(name = "历史航迹数据(N个经纬度点集合)")
    private String oldFlightPath;

    /** 未来航迹数据(N个经纬度点集合) */
    @Excel(name = "未来航迹数据(N个经纬度点集合)")
    private String newFlightPath;

    /** 预测到达终点时间 */
    @Excel(name = "预测到达终点时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date targetTime;

    /** 预测到达终点目标id */
    @Excel(name = "预测到达终点目标id")
    private Long targetId;

    @TableField(exist = false)
    private String targetName;

    /** 概率（%） */
    @Excel(name = "概率", readConverterExp = "%=")
    private Double probability;


}
